package com.eol.entity.po.content;

import io.swagger.annotations.ApiModel;

import javax.persistence.Id;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * 课程章节
 *
 * @author liulinhui
 * @email 1249055292@qq.com
 * @date 2020-06-10 12:02:22
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("课程章节")
public class ZCourseChapter implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @Id
    private String id;

    @ApiModelProperty(value = "课程id")
    private String courseId;

    @ApiModelProperty(value = "章节名字")
    private String name;

    @ApiModelProperty(value = "上级id")
    private String pid;

    @ApiModelProperty(value = "是否免费  1：免费")
    private Integer free;

    @ApiModelProperty(value = "序号")
    private Integer sort;

    @ApiModelProperty(value = "章节描述")
    private String des;

    @ApiModelProperty(value = "总时长")
    private String timeCount;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

}
